<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta http-equiv="X-UA-Compatible" content="IE=edge" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
  <title>Cyan's KaiLive implementation</title>
</head>
<body>
  <img alt="stream" />
</body>
<script>
  img = document.querySelector("img");
  socket = new WebSocket("ws://localhost:6900");
  socket.onmessage = ({ data }) => (img.src = data);
</script>
</html>